package com.hqyj.dao;

import com.hqyj.pojo.OrderInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author rock
 * @since 2023-09-27
 */
public interface OrderInfoMapper extends BaseMapper<OrderInfo> {


    @Select("select * from order_info where user_id=#{userId}")
    List<OrderInfo>  selectListByUserId(Integer userId);

}
